package sw.service;

import java.util.List;

import sw.model.UserModel;


public interface IUserService {
	/**
	 * 登录
	 * @param name
	 * @param password
	 * @return
	 */
	public Integer Login(String name,String password);
	
	/**
	 * 返回所有用户
	 * @return
	 */
	public List<UserModel> findAllUsers();

}
